import request from '@/utils/request'

export function listsummaryMaterial(query) {
  return request({
    url: '/system/summaryMaterial/list',
    method: 'get',
    params: query
  })
}


export function summaryMaterialAdd(data) {
  return request({
    url: '/system/summaryMaterial',
    method: 'post',
    data: data
  })
}
export function summaryMaterialEdit(data) {
  return request({
    url: '/system/summaryMaterial',
    method: 'put',
    data: data
  })
}
export function summaryMaterialInfo(query) {
  return request({
    url: '/system/summaryMaterial/' + query + '?ipAddress=' + process.env.VUE_APP_IMG_API,
    method: 'get',
  })
}